
const getters = {
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  nickname: state => state.user.name,
  welcome: state => state.user.welcome,
  roles: state => state.user.roles,
  userInfo: state => state.user.info,
  addRouters: state => state.asyncRouter.addRouters,
  // 网站信息
  // websiteName: state => state.website.websiteName,
  // logo: state => state.website.logo,
  // copyright: state => state.website.copyright,
  // internetContentProvider: state => state.website.internetContentProvider,
  // startOnline: state => state.website.startOnline,
  // isOpenMsg: state => state.website.isOpenMsg,
}

export default getters
